{{#stats}}
<div class="panel panel-default">
  <div class="panel-heading">
    <div class="panel-title">
      <i class="fa fa-fw fa-bar-chart-o"></i>
      Stats
    </div>
  </div>
  <div class="panel-body">
    <dl class="dl-horizontal">
      <dt><span class="">Member since</span></dt>
      <dd><span class=""><time datetime="{{user.createdISOFormat}}" title="{{user.created}}">{{user.createdHumanized}}</time></span></dd>
      {{#user.isUpdated}}
      <dt><span class="{{#authedUser.isMod}}{{#user.isUpdatedWarning}}text-warning{{/user.isUpdatedWarning}}{{/authedUser.isMod}}">Revised since</span></dt>
      <dd><span class="{{#authedUser.isMod}}{{#user.isUpdatedWarning}}text-warning{{/user.isUpdatedWarning}}{{/authedUser.isMod}}"><time datetime="{{user.updatedISOFormat}}" title="{{user.updated}}">{{user.updatedHumanized}}</time></span>      </dd>
      {{/user.isUpdated}}
      <dt>Number of userscripts</dt>
      <dd>{{stats.totalScripts}}</dd>
      <dt>Number of libraries</dt>
      <dd>{{stats.totalLibs}}</dd>
      <dt>Total installs</dt>
      <dd>{{stats.totalInstalls}}</dd>
      <dt>Average installs</dt>
      <dd>{{stats.avgInstalls}}</dd>
      <dt>Average rating</dt>
      <dd>{{stats.avgRating}}</dd>
    </dl>
  </div>
</div>
{{/stats}}
